#include <bits/stdc++.h>
using namespace std;

int m, n;
int cnt = 0;
int main() {
    cin >> m >> n;

    for (int i = m; i <= n; i++) {
        if (i % 2 != 0)
            cnt += i;
    }
    cout << cnt;
    return 0;
}